home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #6
/
Amiga Plus CD - 2004 - No. 06.iso
/
AmiSoft
/
Comm
/
mail
/
iSpell_YamEdit.lha
/
iSpell_YamEdit
/
iSpell_YamEdit.readme
next >
Wrap
Text File
|
2004-04-23
|
4KB
|
100 lines
Short: Replaces iSpell_lookup&iSpell_suggest.YAM While typing spell checking.
Author: Rofdolfo Ignazi rodign@inwind.it or rodign@tiscali.it
Uploader: Author
Version: 0.5.0 (23.04.04)
Type: comm/mail
Name: iSpell_YamEd-A.rx and iSpell_YamEd-B.rx
Legal: FreeWare
Distribution: Unlimited for non commercial use otherwise ask me.
AuthorWebSpace: http://web.tiscali.it/no-redirect-tiscali/amyroad/
Premise:
It don't use MuiRexx.
Installation:
Assuming the path you place the script is "Internet:YAM/Rexx/"
directory:
In YAM setting menu choose -> MUI:
In MUI setting window choose ->TextEditor:
Click on "Spell checker",
find "Lookup command" string gadget then type on it as follow:
-> Run >nil: <nil: SYS:Rexxc/RX Internet:YAM/Rexx/iSpell_YamEdit.rx %s
I suggest to make the RX command resident, in this case the launch
line would be like this:
-> Run >nil: <nil: RX Internet:YAM/Rexx/iSpell_YamEdit.rx %s
Then choose CLI in the lookup gadget: "Lookup command [CLI]"
Leave both
"Spell check as you type?"
"Lookup word before suggesting?"
buttons unchecked.
Save.
Note:
It's important to type the command exactly as shown above otherwise any
Yam activity may be suspended.
Usage:
In Yam Editor go to the "Edit" menu select "Type and spell" and check it.
Now,
while you are typing your text in Yam editor your words will be checked
one by one and when a word is not recognised by iSpell a requester will
pop up with the suitable suggestions for that word.
If you click upon one of the suggestions the new word will replace the
wrong one under the cursor.
If iSpell has no suggestion it appears a different requester informing you.
In both requesters you'll have the options to `Add' your word to the iSpell
user dictionary or to `Accept' the word until Ispell is running or "Cancel"
to exit and do nothing.
If you are a very, very fast typewriter it may happen that you move the
cursor before the script takes control so, this may cause the new word not
to be placed in the exact place as the old one, leaving some spurious
character before and after it.
Note that in the replace requester the words `Add', `Accept' and `Cancel'
are been truncated, this is to reduce the cases where MUI switches to the
smallest font when very long strings are sent to the requester (the string
sent to this requester may be very variable).
(Strings that exceeds 140 characters are not accepted by the YAM requester,
in these cases you will have the standard Amiga error signal: the flashing
of the screen or/and the beep).
If iSpell has not been started before, you will note it to start in the
very first word you type.
NOTE:
iSpell_lang.rx, iSpell_exit.rx and iSpell_all.rx
by Brecht Machiels, Lorens Johansson, Roger 'Ben' Bennett
(Thank to them for the idea and the grabbing of some code)
are still in use as I did not make any replacement for
those scripts.
IMPORTANT:
You have to use "iSpell_lang.rx" to set or change your Ispell
language before using these scripts if it isn't already set.
To correct some possible errors in the iSpell user dictionary edit the file
"ispell:lib/.ispell_english" (or the language you are using).
I experienced that the first line should be left blank.
Furthermore iSpell seems to ignore some often used English contractions.
The following example explains you how to make them acceptable.
E.g. for "shouldn't":
When you type shouldn't, on typing the apostrophe (')
the requester pops up, with the word "shouldn", click on [Add] then
click Yes on the second requester, and from now on "shouldn't" will
be accepted.
Last but not the least a big thank to my friend Allan Rasmussen, who
kindly tested it and gave me very useful suggestions and bug fixes
indications.